package com.mms.utils;

import com.mms.context.Constants;

import java.util.Date;

/**
 * Created by Administrator on 2017/1/2/002.
 */
public class Test1 implements Runnable {
    private String value = "13558826174";
    private String times = null;//1483342213947
    public static void main(String[] args){
        System.out.println(System.currentTimeMillis());
        new Thread(new Test1()).start();
    }

    @Override
    public void run() {
        times = System.currentTimeMillis()+"";
        try {
            String str1 = HttpUtils.HttpPost("http://reg.jiayuan.com/libs/xajax/reguser.server.php?processSendOrUpdateMessage",
                    "xajax=processSendOrUpdateMessage&xajaxargs[]=<xjxquery><q>mobile="+value+"</q></xjxquery>&xajaxargs[]=mobile&xajaxr="+times);
            System.out.println(str1+"=================");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
